﻿import { createCrudApi } from '@/utils/apiFactory';
import request from '@/utils/unirequest';
import type { IResult } from '@/type/common';
import type { ISysTodoCenter, ISysTodoCenterView, ISysTodoCenterVm } from './interface';

export default function SystodocenterApi() {
  // 基础CRUD用工厂生成
  const baseCrud = createCrudApi<
    ISysTodoCenterView,
    ISysTodoCenterVm,
    ISysTodoCenter
  >('/api/SysTodoCenter');

  return {
    ...baseCrud,
    // 如需额外接口可在此添加

  };
}